Skip to main content

All Questions

Tagged with
1vote
2answers
3kviews

checking if iptables are set on a system in script [duplicate]

I'm writing a script in bash and I need to check if iptables are set...I have this: if [ `iptables-save | grep '^\-' | wc -l` > 0 ] then echo "Iptables already set, skipping..........!" else ...
somethingSomething's user avatar
5votes
4answers
9kviews

How can I make my Linux server sleep and wake on LAN when not in use?

I have recently purchased myself an HP rack server for use as a personal fileserver. This server currently lives under my bed as I have nowhere else to put it. For those not aware (as I was not ...
James Stone's user avatar
8votes
2answers
6kviews

Writing C# in Debian

I want to learn C# on a Debian system. What do I have to install? Is there something like an interactive prompt where I can try running snippets of code? I have to learn C# and I have a dual boot ...
Pierre B's user avatar
2votes
1answer
2kviews

The most used language for Debian [closed]

What is the programming language mostly used to develop most parts of the Debian?
user avatar
26votes
8answers
24kviews

How can I run BASIC code in a terminal?

I would like to run BASIC code, like you used to do on older computers, in Linux. (I am looking for a BASIC interpreter that can run OS functions natively) What options do I have? (Preferably for ...
DiamondCoderMan's user avatar

close